<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><!-- ([\u4E00-\u9FA5]|[09]) -->
<html>
<head>
<title>10-注册页面.html</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script type="text/javascript">
	window.onload = function (){

	}
</script>
</head>
<body>
	<fieldset>
		<legend>注册页面</legend>
		<!-- 在form标签中有个默认的事件 -->
		<form action="http://127.0.0.1:9090" method="post" onsubmit="return _validata();">
			<table>
				<tr>
					<td>用户名称：<font color="red">*</font>
					</td>
					<td><input id="user" type="text" name="user" value="请输入用户名" onclick="func()"
						onblur="checkuser()" /> <span style="color: red" id="userspan"></span></td>
				</tr>

				<tr>
					<td>用户密码：</td>
					<td><input id="pwd" type="text" name="pwd" onblur="checkpwd()" /> <span id="pwdspan"></span>
					</td>
				</tr>

				<tr>
					<td>确认密码：</td>
					<td><input id="repwd" type="text" name="repwd" onblur="checkrepwd()" /> <span
						id="repwdspan"></span></td>
				</tr>

				<tr>
					<td>选择性别：</td>
					<td><input type="radio" name="sex" value="nan" onblur="checksex()" />男 <input type="radio"
						name="sex" value="nv" onblur="checksex()" />女 <span id="sexpan"></span></td>
				</tr>
				<tr>
					<td>选择爱好：</td>
					<td><input type="checkbox" name="hobby" value="C" />C <input type="checkbox" name="hobby"
						value="C++" />C++ <input type="checkbox" name="hobby" value="Java" />Java <input
						type="checkbox" name="hobby" value="PHP" />PHP <input type="checkbox" name="hobby"
						value=".net" />.net <span id="hspan"></span></td>
				</tr>
				<tr>
					<td>选择国家：</td>
					<td><select name="country">
							<option>---请选择国家----</option>
							<option value="CN">中国</option>
							<option value="US">美国</option>
							<option value="EN">英国</option>
					</select></td>
				</tr>

				<tr>
					<td>自我评价：</td>
					<td><textarea rows="10" cols="40" name="desc">
						</textarea></td>
				</tr>
				<tr>
					<td><input type="submit" value="注册" /></td>
					<td><input type="reset" value="重置" /></td>
				</tr>
			</table>
		</form>
	</fieldset>

</body>
</html>
